package com.qcxk.yuqian.rtu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * @auther lp
 * @create 2021-12-07 17:37:17
 * @describe 实体类
 */
@Data

@TableName("instruction")
public class Instruction implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 创建时间
     */
    @TableField("ctime")
    private String ctime;
    @TableField("rtu_no")
    private String rtuNo;

    /**
     * 指令类型0-修改IP 1-修改端口
     */
    @TableField("type")
    private String type;

    /**
     * 是否执行完成0-未完成 1-已完成
     */
    @TableField("com")
    private Integer com;

    /**
     * 逻辑删除标识
     */
    @TableLogic
    @TableField("deleted")
    private Integer deleted;

    /**
     * 操作用户
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 内容
     */
    @TableField("con")
    private String con;


}
